package cn.lcsjsxy.yxz.day.Thread;

//线程休眠
public class Threadsleep {
    public static void main(String[] args) throws Exception{

        //休眠3秒钟! (人话:等3秒钟)
//        Thread.sleep(3000);

        //重复执行
        while (true){
            Thread.sleep(3000);
            System.out.println("main线程程序执行完毕!!!");
        }

//        System.out.println("main线程程序执行完毕!!!");

    }
}
